<!DOCTYPE html>
<html ng-app='test'>
  <head>
    <meta charset="utf-8">
    <title></title>
    <script src="angular.js"></script>
    <script type="text/javascript">
      let modu =angular.module('test',[]);

      modu.controller('main',function($scope){
            $scope.a=0;$scope.b=0;
            $scope.parseIntAAA=function(str){
              return parseInt(str);
            };
      });
    </script>
  </head>
  <body ng-controller='main'>
    <input type="text" name="" value="" ng-model='a'>
    <input type="text" name="" value="" ng-model='b'>
    {{parseIntAAA(a)+parseIntAAA(b)}}
  </body>
</html>
